﻿using System;

namespace ConsoleApp2.Models;

public class User
{
    private static int nextId = 1;
    public int Id { get; set; }

    public User()
    {
        Id = nextId++;
    }

    public string UserName;
    public string Password;
    public string Phone;
    public string Email;
    public string NickName;
    public DateTime CreateTime;
    public DateTime UpdateTime;
    public bool IsDeleted;
    public List<Role> Roles;
}